package ricky.Interface
{
	import ricky.loader.Request;
	
	/**
	 * 加载器接口
	 */
	public interface ILoader
	{
		
		function get tag():*;
		function set tag(value:*):void;
		
		function get req():Request;
		function set req(value:Request):void;
		
		function get loadComplete():ILoadComplete;
		function set loadComplete(value:ILoadComplete):void
		
		function addEventListener(type:String, listener:Function, useCapture:Boolean=false, priority:int=0, useWeakReference:Boolean=false):void
		
		function removeEventListener(type:String, listener:Function, useCapture:Boolean=false):void
		
		/**
		 * 开始加载
		 */
		function beginLoad():void;
		
		/**
		 * 下载完成后的数据
		 */
		function get getData():*;
	}
}